package org.edu.modules.opencourse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import org.jeecgframework.poi.excel.annotation.Excel;

@TableName("ve_kfc_opencourse")
@ApiModel(value="ve_kfc_opencourse对象", description="开课信息")
public class VeKfcOpencourse
        implements Serializable
{
    private static final long serialVersionUID = 1L;
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("主键ID，自动增长")
    private Integer id;
    @Excel(name="课程名称", width=15.0D)
    @ApiModelProperty("课程名称")
    private String coursename;
    @Excel(name="课程分类ID", width=15.0D)
    @ApiModelProperty("课程分类ID")
    private Integer cateid;
    @Excel(name="课程ID", width=15.0D)
    @ApiModelProperty("课程ID")
    private Integer courseid;
    @Excel(name="学分", width=15.0D)
    @ApiModelProperty("学分")
    private Integer credit;
    @Excel(name="课时", width=15.0D)
    @ApiModelProperty("课时")
    private Integer classhour;
    @Excel(name="课程负责人", width=15.0D)
    @ApiModelProperty("课程负责人")
    private Integer teacheruserid;
    @Excel(name="是否开启课程网站0否1是", width=15.0D)
    @ApiModelProperty("是否开启课程网站0否1是")
    private Integer issite;
    @Excel(name="是否开放加入 0=否，1=是。默认为0，0适用于封闭教学", width=15.0D)
    @ApiModelProperty("是否开放加入 0=否，1=是。默认为0，0适用于封闭教学")
    private Integer isopen;
    @Excel(name="封面id", width=15.0D)
    @ApiModelProperty("封面id")
    private Integer coverid;
    @Excel(name="课程简介", width=15.0D)
    @ApiModelProperty("课程简介")
    private String content;
    @Excel(name="教学模式 1=授课 2=自学", width=15.0D)
    @ApiModelProperty("教学模式 1=授课 2=自学")
    private Integer teachmode;
    @Excel(name="主讲教师", width=15.0D)
    @ApiModelProperty("主讲教师")
    private String masterteacher;
    @Excel(name="学员人数", width=15.0D)
    @ApiModelProperty("学员人数")
    private Integer studentnum;
    @Excel(name="教师总数", width=15.0D)
    @ApiModelProperty("教师总数")
    private Integer teachernum;
    @Excel(name="浏览次数", width=15.0D)
    @ApiModelProperty("浏览次数")
    private Integer viewcount;
    @Excel(name="发布状态 1=发布 0=未发布", width=15.0D)
    @ApiModelProperty("发布状态 1=发布 0=未发布")
    private Integer status;
    @Excel(name="是否移到回收站。0否1是", width=15.0D)
    @ApiModelProperty("是否移到回收站。0否1是")
    private Integer isdelete;
    @Excel(name="创建时间", width=15.0D)
    @ApiModelProperty("创建时间")
    private long createtime;
    @Excel(name="更新时间", width=15.0D)
    @ApiModelProperty("更新时间")
    private long updatetime;
    @Excel(name="创建人ID", width=15.0D)
    @ApiModelProperty("创建人ID")
    private Integer createuserid;
    @Excel(name="终端系统ID", width=15.0D)
    @ApiModelProperty("终端系统ID")
    private Integer terminalid;
    @Excel(name="关联模型代码: xmsite=项目课程，portal=平台", width=15.0D)
    @ApiModelProperty("关联模型代码: xmsite=项目课程，portal=平台")
    private String rowmodel;
    @Excel(name="关联模型记录ID", width=15.0D)
    @ApiModelProperty("关联模型记录ID")
    private Integer rowid;
    @Excel(name="所属专业", width=15.0D)
    @ApiModelProperty("所属专业")
    private Integer depid;
    @Excel(name="课程标签", width=15.0D)
    @ApiModelProperty("课程标签")
    private String tags;
    @Excel(name="是否推送到首页（1=是，0=否）", width=15.0D)
    @ApiModelProperty("是否推送到首页（1=是，0=否）")
    private Integer ishome;
    @Excel(name="多租户id", width=15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public VeKfcOpencourse setCateid(Integer cateid)
    {
        this.cateid = cateid;return this;
    }

    public VeKfcOpencourse setCoursename(String coursename)
    {
        this.coursename = coursename;return this;
    }

    public VeKfcOpencourse setId(Integer id)
    {
        this.id = id;return this;
    }

    public String toString()
    {
        return "VeKfcOpencourse(id=" + getId() + ", coursename=" + getCoursename() + ", cateid=" + getCateid() + ", courseid=" + getCourseid() + ", credit=" + getCredit() + ", classhour=" + getClasshour() + ", teacheruserid=" + getTeacheruserid() + ", issite=" + getIssite() + ", isopen=" + getIsopen() + ", coverid=" + getCoverid() + ", content=" + getContent() + ", teachmode=" + getTeachmode() + ", masterteacher=" + getMasterteacher() + ", studentnum=" + getStudentnum() + ", teachernum=" + getTeachernum() + ", viewcount=" + getViewcount() + ", status=" + getStatus() + ", isdelete=" + getIsdelete() + ", createtime=" + getCreatetime() + ", updatetime=" + getUpdatetime() + ", createuserid=" + getCreateuserid() + ", terminalid=" + getTerminalid() + ", rowmodel=" + getRowmodel() + ", rowid=" + getRowid() + ", depid=" + getDepid() + ", tags=" + getTags() + ", ishome=" + getIshome() + ", placeId=" + getPlaceId() + ")";
    }

    public VeKfcOpencourse setPlaceId(Integer placeId)
    {
        this.placeId = placeId;return this;
    }

    public VeKfcOpencourse setIshome(Integer ishome)
    {
        this.ishome = ishome;return this;
    }

    public VeKfcOpencourse setTags(String tags)
    {
        this.tags = tags;return this;
    }

    public VeKfcOpencourse setDepid(Integer depid)
    {
        this.depid = depid;return this;
    }

    public VeKfcOpencourse setRowid(Integer rowid)
    {
        this.rowid = rowid;return this;
    }

    public VeKfcOpencourse setRowmodel(String rowmodel)
    {
        this.rowmodel = rowmodel;return this;
    }

    public VeKfcOpencourse setTerminalid(Integer terminalid)
    {
        this.terminalid = terminalid;return this;
    }

    public VeKfcOpencourse setCreateuserid(Integer createuserid)
    {
        this.createuserid = createuserid;return this;
    }

    public VeKfcOpencourse setUpdatetime(long updatetime)
    {
        this.updatetime = updatetime;return this;
    }

    public VeKfcOpencourse setCreatetime(long createtime)
    {
        this.createtime = createtime;return this;
    }

    public VeKfcOpencourse setIsdelete(Integer isdelete)
    {
        this.isdelete = isdelete;return this;
    }

    public VeKfcOpencourse setStatus(Integer status)
    {
        this.status = status;return this;
    }

    public VeKfcOpencourse setViewcount(Integer viewcount)
    {
        this.viewcount = viewcount;return this;
    }

    public VeKfcOpencourse setTeachernum(Integer teachernum)
    {
        this.teachernum = teachernum;return this;
    }

    public VeKfcOpencourse setStudentnum(Integer studentnum)
    {
        this.studentnum = studentnum;return this;
    }

    public VeKfcOpencourse setMasterteacher(String masterteacher)
    {
        this.masterteacher = masterteacher;return this;
    }

    public VeKfcOpencourse setTeachmode(Integer teachmode)
    {
        this.teachmode = teachmode;return this;
    }

    public VeKfcOpencourse setContent(String content)
    {
        this.content = content;return this;
    }

    public VeKfcOpencourse setCoverid(Integer coverid)
    {
        this.coverid = coverid;return this;
    }

    public VeKfcOpencourse setIsopen(Integer isopen)
    {
        this.isopen = isopen;return this;
    }

    public VeKfcOpencourse setIssite(Integer issite)
    {
        this.issite = issite;return this;
    }

    public VeKfcOpencourse setTeacheruserid(Integer teacheruserid)
    {
        this.teacheruserid = teacheruserid;return this;
    }

    public VeKfcOpencourse setClasshour(Integer classhour)
    {
        this.classhour = classhour;return this;
    }

    public VeKfcOpencourse setCredit(Integer credit)
    {
        this.credit = credit;return this;
    }

    public VeKfcOpencourse setCourseid(Integer courseid)
    {
        this.courseid = courseid;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;long $createtime = getCreatetime();result = result * 59 + (int)($createtime >>> 32 ^ $createtime);long $updatetime = getUpdatetime();result = result * 59 + (int)($updatetime >>> 32 ^ $updatetime);Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());Object $cateid = getCateid();result = result * 59 + ($cateid == null ? 43 : $cateid.hashCode());Object $courseid = getCourseid();result = result * 59 + ($courseid == null ? 43 : $courseid.hashCode());Object $credit = getCredit();result = result * 59 + ($credit == null ? 43 : $credit.hashCode());Object $classhour = getClasshour();result = result * 59 + ($classhour == null ? 43 : $classhour.hashCode());Object $teacheruserid = getTeacheruserid();result = result * 59 + ($teacheruserid == null ? 43 : $teacheruserid.hashCode());Object $issite = getIssite();result = result * 59 + ($issite == null ? 43 : $issite.hashCode());Object $isopen = getIsopen();result = result * 59 + ($isopen == null ? 43 : $isopen.hashCode());Object $coverid = getCoverid();result = result * 59 + ($coverid == null ? 43 : $coverid.hashCode());Object $teachmode = getTeachmode();result = result * 59 + ($teachmode == null ? 43 : $teachmode.hashCode());Object $studentnum = getStudentnum();result = result * 59 + ($studentnum == null ? 43 : $studentnum.hashCode());Object $teachernum = getTeachernum();result = result * 59 + ($teachernum == null ? 43 : $teachernum.hashCode());Object $viewcount = getViewcount();result = result * 59 + ($viewcount == null ? 43 : $viewcount.hashCode());Object $status = getStatus();result = result * 59 + ($status == null ? 43 : $status.hashCode());Object $isdelete = getIsdelete();result = result * 59 + ($isdelete == null ? 43 : $isdelete.hashCode());Object $createuserid = getCreateuserid();result = result * 59 + ($createuserid == null ? 43 : $createuserid.hashCode());Object $terminalid = getTerminalid();result = result * 59 + ($terminalid == null ? 43 : $terminalid.hashCode());Object $rowid = getRowid();result = result * 59 + ($rowid == null ? 43 : $rowid.hashCode());Object $depid = getDepid();result = result * 59 + ($depid == null ? 43 : $depid.hashCode());Object $ishome = getIshome();result = result * 59 + ($ishome == null ? 43 : $ishome.hashCode());Object $placeId = getPlaceId();result = result * 59 + ($placeId == null ? 43 : $placeId.hashCode());Object $coursename = getCoursename();result = result * 59 + ($coursename == null ? 43 : $coursename.hashCode());Object $content = getContent();result = result * 59 + ($content == null ? 43 : $content.hashCode());Object $masterteacher = getMasterteacher();result = result * 59 + ($masterteacher == null ? 43 : $masterteacher.hashCode());Object $rowmodel = getRowmodel();result = result * 59 + ($rowmodel == null ? 43 : $rowmodel.hashCode());Object $tags = getTags();result = result * 59 + ($tags == null ? 43 : $tags.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeKfcOpencourse;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeKfcOpencourse)) {
            return false;
        }
        VeKfcOpencourse other = (VeKfcOpencourse)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (getCreatetime() != other.getCreatetime()) {
            return false;
        }
        if (getUpdatetime() != other.getUpdatetime()) {
            return false;
        }
        Object this$id = getId();Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
            return false;
        }
        Object this$cateid = getCateid();Object other$cateid = other.getCateid();
        if (this$cateid == null ? other$cateid != null : !this$cateid.equals(other$cateid)) {
            return false;
        }
        Object this$courseid = getCourseid();Object other$courseid = other.getCourseid();
        if (this$courseid == null ? other$courseid != null : !this$courseid.equals(other$courseid)) {
            return false;
        }
        Object this$credit = getCredit();Object other$credit = other.getCredit();
        if (this$credit == null ? other$credit != null : !this$credit.equals(other$credit)) {
            return false;
        }
        Object this$classhour = getClasshour();Object other$classhour = other.getClasshour();
        if (this$classhour == null ? other$classhour != null : !this$classhour.equals(other$classhour)) {
            return false;
        }
        Object this$teacheruserid = getTeacheruserid();Object other$teacheruserid = other.getTeacheruserid();
        if (this$teacheruserid == null ? other$teacheruserid != null : !this$teacheruserid.equals(other$teacheruserid)) {
            return false;
        }
        Object this$issite = getIssite();Object other$issite = other.getIssite();
        if (this$issite == null ? other$issite != null : !this$issite.equals(other$issite)) {
            return false;
        }
        Object this$isopen = getIsopen();Object other$isopen = other.getIsopen();
        if (this$isopen == null ? other$isopen != null : !this$isopen.equals(other$isopen)) {
            return false;
        }
        Object this$coverid = getCoverid();Object other$coverid = other.getCoverid();
        if (this$coverid == null ? other$coverid != null : !this$coverid.equals(other$coverid)) {
            return false;
        }
        Object this$teachmode = getTeachmode();Object other$teachmode = other.getTeachmode();
        if (this$teachmode == null ? other$teachmode != null : !this$teachmode.equals(other$teachmode)) {
            return false;
        }
        Object this$studentnum = getStudentnum();Object other$studentnum = other.getStudentnum();
        if (this$studentnum == null ? other$studentnum != null : !this$studentnum.equals(other$studentnum)) {
            return false;
        }
        Object this$teachernum = getTeachernum();Object other$teachernum = other.getTeachernum();
        if (this$teachernum == null ? other$teachernum != null : !this$teachernum.equals(other$teachernum)) {
            return false;
        }
        Object this$viewcount = getViewcount();Object other$viewcount = other.getViewcount();
        if (this$viewcount == null ? other$viewcount != null : !this$viewcount.equals(other$viewcount)) {
            return false;
        }
        Object this$status = getStatus();Object other$status = other.getStatus();
        if (this$status == null ? other$status != null : !this$status.equals(other$status)) {
            return false;
        }
        Object this$isdelete = getIsdelete();Object other$isdelete = other.getIsdelete();
        if (this$isdelete == null ? other$isdelete != null : !this$isdelete.equals(other$isdelete)) {
            return false;
        }
        Object this$createuserid = getCreateuserid();Object other$createuserid = other.getCreateuserid();
        if (this$createuserid == null ? other$createuserid != null : !this$createuserid.equals(other$createuserid)) {
            return false;
        }
        Object this$terminalid = getTerminalid();Object other$terminalid = other.getTerminalid();
        if (this$terminalid == null ? other$terminalid != null : !this$terminalid.equals(other$terminalid)) {
            return false;
        }
        Object this$rowid = getRowid();Object other$rowid = other.getRowid();
        if (this$rowid == null ? other$rowid != null : !this$rowid.equals(other$rowid)) {
            return false;
        }
        Object this$depid = getDepid();Object other$depid = other.getDepid();
        if (this$depid == null ? other$depid != null : !this$depid.equals(other$depid)) {
            return false;
        }
        Object this$ishome = getIshome();Object other$ishome = other.getIshome();
        if (this$ishome == null ? other$ishome != null : !this$ishome.equals(other$ishome)) {
            return false;
        }
        Object this$placeId = getPlaceId();Object other$placeId = other.getPlaceId();
        if (this$placeId == null ? other$placeId != null : !this$placeId.equals(other$placeId)) {
            return false;
        }
        Object this$coursename = getCoursename();Object other$coursename = other.getCoursename();
        if (this$coursename == null ? other$coursename != null : !this$coursename.equals(other$coursename)) {
            return false;
        }
        Object this$content = getContent();Object other$content = other.getContent();
        if (this$content == null ? other$content != null : !this$content.equals(other$content)) {
            return false;
        }
        Object this$masterteacher = getMasterteacher();Object other$masterteacher = other.getMasterteacher();
        if (this$masterteacher == null ? other$masterteacher != null : !this$masterteacher.equals(other$masterteacher)) {
            return false;
        }
        Object this$rowmodel = getRowmodel();Object other$rowmodel = other.getRowmodel();
        if (this$rowmodel == null ? other$rowmodel != null : !this$rowmodel.equals(other$rowmodel)) {
            return false;
        }
        Object this$tags = getTags();Object other$tags = other.getTags();return this$tags == null ? other$tags == null : this$tags.equals(other$tags);
    }

    public Integer getId()
    {
        return this.id;
    }

    public String getCoursename()
    {
        return this.coursename;
    }

    public Integer getCateid()
    {
        return this.cateid;
    }

    public Integer getCourseid()
    {
        return this.courseid;
    }

    public Integer getCredit()
    {
        return this.credit;
    }

    public Integer getClasshour()
    {
        return this.classhour;
    }

    public Integer getTeacheruserid()
    {
        return this.teacheruserid;
    }

    public Integer getIssite()
    {
        return this.issite;
    }

    public Integer getIsopen()
    {
        return this.isopen;
    }

    public Integer getCoverid()
    {
        return this.coverid;
    }

    public String getContent()
    {
        return this.content;
    }

    public Integer getTeachmode()
    {
        return this.teachmode;
    }

    public String getMasterteacher()
    {
        return this.masterteacher;
    }

    public Integer getStudentnum()
    {
        return this.studentnum;
    }

    public Integer getTeachernum()
    {
        return this.teachernum;
    }

    public Integer getViewcount()
    {
        return this.viewcount;
    }

    public Integer getStatus()
    {
        return this.status;
    }

    public Integer getIsdelete()
    {
        return this.isdelete;
    }

    public long getCreatetime()
    {
        return this.createtime;
    }

    public long getUpdatetime()
    {
        return this.updatetime;
    }

    public Integer getCreateuserid()
    {
        return this.createuserid;
    }

    public Integer getTerminalid()
    {
        return this.terminalid;
    }

    public String getRowmodel()
    {
        return this.rowmodel;
    }

    public Integer getRowid()
    {
        return this.rowid;
    }

    public Integer getDepid()
    {
        return this.depid;
    }

    public String getTags()
    {
        return this.tags;
    }

    public Integer getIshome()
    {
        return this.ishome;
    }

    public Integer getPlaceId()
    {
        return this.placeId;
    }
}
